package com.yehangtech.designpattern.行为型_迭代器模式.util;


public interface Collection<E> extends Iterable<E> {
    int size();

    boolean isEmpty();

    boolean contains(Object o);

    Iterator<E> iterator();

    boolean add(E e);

    boolean remove(Object o);

    void clear();

}
